a618ec7f1e2ea0db42fd5cfcc180aa1b7bef97b3,amplify/src/main/java/com/github/stkent/amplify/prompt/BasePromptView.java,BasePromptView,thankUser,#,153
Before Change
@Override
public final void thankUser() {
// todo: don't fire this on config changes
promptPresenter.notifyEventTriggered(PromptViewEvent.THANKS_SHOWN);
final U thanksView = getThanksView();
thanksView.bind(basePromptViewConfig.getThanks());
After Change
@SuppressWarnings("ConstantConditions")
@Override
public final void thankUser(final boolean triggeredByConfigChange) {
if (!triggeredByConfigChange) {
promptPresenter.notifyEventTriggered(PromptViewEvent.THANKS_SHOWN);
}
final U thanksView = getThanksView();